package com.corn.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
//主体对象可以没有无参构造，但是级联对象必须有无参构造
@Data
@AllArgsConstructor
public class User {
    private Integer id;
    private String name;
    private Address address;
}
